Nevron Open Vision Documentation
Nevron.Nov.UI Namespace / NRasterImageExporter<TContent> Class / CreateRaster Method / CreateRaster(NRectangle,Double) Method
Bounding box of the document to be rasterized.
Resolution of the raster in DPI.


In This Topic
    CreateRaster(NRectangle,Double) Method
    In This Topic
    Creates a raster by rendering the specified area of the document with the specified DPI.
    Syntax
    'Declaration
     
    
    Public Overloads Overridable Function CreateRaster( _
       ByVal bounds As NRectangle, _
       ByVal dpi As System.Double _
    ) As NRaster
    'Usage
     
    
    Dim instance As NRasterImageExporter(Of TContent)
    Dim bounds As NRectangle
    Dim dpi As System.Double
    Dim value As NRaster
     
    value = instance.CreateRaster(bounds, dpi)
    public virtual NRaster CreateRaster( 
       NRectangle bounds,
       System.double dpi
    )

    Parameters

    bounds
    Bounding box of the document to be rasterized.
    dpi
    Resolution of the raster in DPI.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also